package adam2;

import java.util.Vector;

//Separates the list into a vector of strings. Each string is a file.
public class ListParser {
	String list;
	String delimiter = "C:";

	public ListParser() {
	}

	public Vector<String> MakeList(final String s) {
		final String[] temp = s.split(delimiter);
		final Vector<String> vecTemp = new Vector<String>();
		// in perl it's: s =~ s//Media///;
		for (int i = 0; i < temp.length; i++) {
			vecTemp.add(i, temp[i]);
		}

		return vecTemp;
	}
}
